#pragma once

namespace pers{
	const int LEN = 40;
	struct Person{
		char fname[LEN];
		char lname[LEN];
	};
	void getPerson(Person &);
	void showPerson(const Person &p);
}

namespace debts{
	using namespace pers;
	struct Debt{
		Person name;
		double amount;
	};

	void getDebt(Debt &);
	void showDebt(const Debt &d);
	double sunDebts(const Debt ar[],int n);
};

class namesp
{
public:
	namesp(void);
	~namesp(void);
};

